package com.dwxt.gateway.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("cmsback")
public interface AdminUserService {

    //查询现登录的用户权限
    @RequestMapping("/admin/user/selectPermissionUrl")
    public List<String> selectPermissionUrl(@RequestParam Integer id);
}
